package com.sjl.test;


import cn.hutool.log.StaticLog;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class ClassPath {

    public static void main(String[] args) {

        System.out.println("asdasd");

    }


    private static void listTest(){
        List<String> strings =new ArrayList<String>();
        List features = Arrays.asList("Lambdas", "Default Method", "Stream API", "Date and Time API");
        features.forEach(n -> strings.add(n.toString()));
        System.out.println(strings.size()+"");

        List<Integer> costBeforeTax = Arrays.asList(100, 200, 300, 400, 500);
        Double aDouble = costBeforeTax.stream().map((cost)->cost + .12*cost).reduce((sum,cost)->sum+cost).get();
        System.out.println(aDouble+"");
    }



}
